package com.cheval.rpcframe.common;

import java.io.Serializable;


public class Message implements Serializable {
    private static final long serialVersionUID = 1L;

    private MessageType messageType;
    private Invocation invocation;

    public MessageType getMessageType() {
        return messageType;
    }

    public void setMessageType(MessageType messageType) {
        this.messageType = messageType;
    }

    public Invocation getInvocation() {
        return invocation;
    }

    public void setInvocation(Invocation invocation) {
        this.invocation = invocation;
    }
}
